package vip.george.service;

import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Service;

/**
 * @author gehaodong
 * @since 2024/3/19
 * <p>
 * </P>
 */
@Service
public class AnnotationAuthService {


    @RequiresPermissions("sys:add")
    public String add(){
        return "add success";
    }


    @RequiresPermissions("sys:delete")
    public String delete(){
        return "delete success";
    }


}
